package com.common.www.bean.entity.file.enums;

public enum FileType {
    IMG(1, "图片"),
    GIF(2, "GIF文件"),
    VIDEO(3, "视频文件"),
    OTHER(100, "未知文件格式");


    //和数据库里的名字要相同
    private final int value;
    String des;

    FileType(int value, String des) {
        this.value = value;
        this.des = des;
    }

    public Integer getValue() {
        return this.value;
    }
}
